#include "../Header Files/CRenderNode_AL.h"

CRenderNode_AL::CRenderNode_AL(void)
{
	m_sRenderType = 0;
}

CRenderNode_AL::~CRenderNode_AL(void)
{

}


void CRenderNode_AL::AddShader(Shaders _shader)
{
	//m_pShaders.push_back(_shader);

	for (unsigned int i(0); i < m_pShaders.size(); ++i)
	{
		if (m_pShaders[i] < _shader)
		{
			continue;
		}
		else
		{
			m_pShaders.insert(m_pShaders.begin() + i - 1, _shader);
			return;
		}
	}
	m_pShaders.push_back(_shader);
}

void CRenderNode_AL::Draw()
{

}